Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hud-set-xstr sexp #6406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

MjnMixael
Copy link
Contributor

There is precedent in the sexp system for xstr specific sexps with modify-variable-xstr, tech-add-intel-xstr, tech-remove-intel-xstr, etc. This adds hud-set-xstr, a version of hud-set-text, allowing to assign a string and id to a hud gauge while also performing key token and variable translation.

I also took the liberty of adding key token translation to hud-set-message because it really probably should be, but I'm not hard set on that... but I think anyone using $alt-j$ in their message text probably really expects that to be translated to the bound key.

@MjnMixael MjnMixael added the Requested by Active Mod A feature request that has been requested by a mod that is actively in development. label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requested by Active Mod A feature request that has been requested by a mod that is actively in development.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant